import { pickerOptionsStatic } from '@/utils/config'
import { translate } from '@/utils/i18n'
export const formItems = [
    {
        filed: 'name',
        type: 'input',
        label: translate('specialCardName')
    },
    {
        filed: 'buyMember',
        type: 'input',
        placeholder: translate('member'),
        label: translate('gmhy')
    },
    {
        filed: 'selTime',
        type: 'daterange',
        clearable: false,
        label: translate('cjrq'),
        pickerOptions: pickerOptionsStatic
    },
    {
        filed: 'id',
        type: 'input',
        label: translate('zxkh')
    },
    {
        filed: 'status',
        type: 'select',
        label: translate('status'),
        options: [
            { value: '0', label: translate('dsy') },
            { value: '1', label: translate('useStatus1') },
            { value: '2', label: translate('yzf') }
        ]
    }

]
export const queryFormConfig = {
    formItems,
    online: true
}
